//
//  MY_Def.h
//  MiYuan_iOS
//
//  Created by zhangyongbing on 2018/5/2.
//  Copyright © 2018年 zhangyongbing. All rights reserved.
//

#ifndef MY_Def_h
#define MY_Def_h

#ifdef DEBUG
# define NSLogEX(format, ...) NSLog((@"[文件名:%s]" "[函数名:%s]" "[行号:%d]" format), __FILE__, __FUNCTION__, __LINE__, ##__VA_ARGS__);
#else
# define NSLogEX(...);
#endif

#define PATH_OF_DOCUMENT    [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0]

#define WINDOWWIDTH     [UIScreen mainScreen ].bounds.size.width
#define WINDOWHiGHT    [UIScreen mainScreen ].bounds.size.height

#define MY_NOTICE_CENTER [NSNotificationCenter defaultCenter]

#define NEED_LOGIN      @"need_logind"
/**无网络*/
#define NO_NETWORK      @"nonetwork"
/**3G网络*/
#define VIAWWAN         @"network3G"
/**wifi网络*/
#define VIAWIFI         @"networkwifi"


#endif /* MY_Def_h */
